<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
	<?php echo $this->headTitle()?>
    
    <!-- JQuery UI CSS Framework -->
    <link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrl()?>/public/css/ui-lightness/jquery-ui-1.8.4.custom.css"  />
    <!-- End JQuery UI CSS Framework -->
	
    <!-- Styles specific for current page -->
    <link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrl()?>/public/js/markitup/skins/markitup/style.css" />
	<link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrl()?>/public/js/markitup/sets/html/style.css" />
    <link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrl()?>/public/js/jqplot/jquery.jqplot.css" />
     <!-- END Specific Styles -->
    
    <!-- General Styles common for all pages -->
    <link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrl()?>/public/css/globals.css" />
    <link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrl()?>/public/css/commons.css" />
    <link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrl()?>/public/css/plugins.css" />
    <!-- END General Styles -->
    
    <!-- Current Theme styles. These are changed via theme switcher -->	
    <link rel="stylesheet"  type="text/css" href="<?php echo $this->baseUrl()?>/public/themes/sleek-wood/css/globals.css" />
	<link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrl()?>/public/themes/sleek-wood/css/commons.css" />
	<link rel="stylesheet"  type="text/css" href="<?php echo $this->baseUrl()?>/public/themes/sleek-wood/css/plugins.css" /> 
    <!-- END Current Theme styles -->
    
    
    <!--[if lte IE 6]><script src="<?php echo $this->baseUrl()?>/public/js/ie6/warning.js"></script><script>window.onload=function(){e("js/ie6/")}</script><![endif]-->
    <script type="text/javascript" src="<?php echo $this->baseUrl()?>/public/js/jquery.js"></script>
    <script type="text/javascript" src="<?php echo $this->baseUrl()?>/public/js/jquery-ui-1.8.4.custom.min.js"></script>
    
	 <!-- Custom Written scripts file -->
	<script type="text/javascript" src="<?php echo $this->baseUrl()?>/public/js/custom.js"></script>
    
	<script type="text/javascript" src="<?php echo $this->baseUrl()?>/public/js/markitup/jquery.markitup.js"></script>
    <script type="text/javascript" src="<?php echo $this->baseUrl()?>/public/js/markitup/sets/html/set.js"></script>
	
	<!--[if IE]><script language="javascript" type="text/javascript" src="<?php //echo $this->baseUrl()?>/public/js/jqplot/excanvas.js"></script><![endif]-->
    <script type="text/javascript" src="<?php echo $this->baseUrl()?>/public/js/jqplot/jquery.jqplot.js"></script>
   	<script type="text/javascript" src="<?php echo $this->baseUrl()?>/public/js/jqplot/plugins/jqplot.categoryAxisRenderer.js"></script>
	<script type="text/javascript" src="<?php echo $this->baseUrl()?>/public/js/jqplot/plugins/jqplot.barRenderer.js"></script>
	<script type="text/javascript" src="<?php echo $this->baseUrl()?>/public/js/jquery.validate.min.js"></script>
   
    <script type="text/javascript">
		$(document).ready(function(){
			
			$("#pagetext").markItUp(mySettings);
			line1 = [[4, 1], [2, 2], [9, 3], [16, 4]];
    		line2 = [[3, 1], [7, 2], [6.25, 3], [3.125, 4]];
    		plot2 = $.jqplot('chart2', [line1, line2], {
        	stackSeries: true,
        	legend: {show: true,location: 'se'},
        	title: 'Sales Report',
        	seriesDefaults: {
            	renderer: $.jqplot.BarRenderer,
            	rendererOptions: {
                	barDirection: 'horizontal',
                	barPadding: 6,
                	barMargin: 40
            	}
        	},
        	series: [{
            	label: '1st Qtr'
        	},
        	{
            	label: '2nd Qtr'
        	}],
        	axes: {
            	yaxis: {
                	renderer: $.jqplot.CategoryAxisRenderer,
                	ticks: ['Q1', 'Q2', 'Q3', 'Q4']
            	},
            	xaxis: {min: 0, max: 20, numberTicks:5}
        	}
    		});

		});
	</script>
    
</head>

<body>	
	<!-- Container -->

	<div id="container">
    	<!-- Header -->
        <div id="header">
    		<div id="header-top">
            	<div id="top-block-left">
                	<p>You are signed in as: <?php echo $this->fullName?> [&nbsp;Administrator&nbsp;]</p>
                </div>
                <ul id="top-toolbox">
                	<li><a href="#" id="settings-link">Settings</a></li>
                    <li><a href="#" id="profile-link">Edit Profile</a></li>
                    <li><a href="<?php echo ADMIN."/index/logout"?>" id="logout-link">Logout</a></li>
                </ul>
                <div class="clear"></div>
            </div>
            <div id="header-middle">
           		<a href="<?php echo ADMIN;?>" id="logo">Ishali Control Panel</a>
            </div>
            <!-- Top Menu -->
            <div id="menu">
            	<ul class="topnav">
                    <li id="menu-event"><a href="<?php echo ADMIN?>" id="menu-dashboard">Bảng điều khiển</a>
                    </li>
                    <li><a href="<?php echo ADMIN."/news"?>" id="menu-asset">Tin tức</a>
                    </li>
                    <li><a href="<?php echo ADMIN."/index/danhmuc"?>" id="menu-page">Danh mục</a>
                    	<ul class="subnav">
                            <li><a href="<?php echo ADMIN."/menu"?>" id="fixed-layout">Danh Mục Menu</a></li>
                            <li><a href="<?php echo ADMIN."/category"?>" id="liquid-layout">Danh Mục Tin Tức</a></li>
                            <li><a href="<?php echo ADMIN."/libphoto"?>" id="liquid-layout">Danh Mục Hình Ảnh</a></li>
                            <li><a href="<?php echo ADMIN."/libvideo"?>" id="liquid-layout">Danh Mục Video</a></li>
                    	</ul>
                    </li>
                    <li><a href="<?php echo ADMIN."/index/library"?>" id="menu-asset">Thư Viện</a>
                    	<ul class="subnav">
                            <li><a href="<?php echo ADMIN."/photo"?>" id="fixed-layout">Hình ảnh</a></li>
                            <li><a href="<?php echo ADMIN."/video"?>" id="liquid-layout">Video</a></li>
                    	</ul>
                    </li>
                    <li><a href="<?php echo ADMIN."/index/communication"?>" id="menu-event">Truyền Thông</a>
                    	<ul class="subnav">
                            <li><a href="<?php echo ADMIN."/advertisement"?>" id="fixed-layout">Quảng cáo</a></li>
                            <li><a href="<?php echo ADMIN."/event"?>" id="liquid-layout">Sự kiện</a></li>
                    	</ul>
                    </li>
                    <li><a href="<?php echo ADMIN."/partner"?>" id="menu-report">Đối Tác</a></li>
                    <li><a href="<?php echo ADMIN."/index/manager"?>" id="menu-report">Quản Trị</a>
                    	<ul class="subnav">
                            <li><a href="<?php echo ADMIN."/role"?>" id="fixed-layout">Thiết lập quyền</a></li>
                            <li><a href="<?php echo ADMIN."/role"?>" id="liquid-layout">Phân quyền</a></li>
                            <li><a href="<?php echo ADMIN."/admin"?>" id="liquid-layout">Người quản trị</a></li>
                    	</ul>
                    </li>
                    <li><a href="<?php echo ADMIN."/user"?>" id="menu-task">Người dùng</a></li>
                    <li><a href="<?php echo ADMIN."/contact"?>" id="menu-task">Liên hệ</a></li>
                </ul>
		  	</div>
            <!-- END Menu -->
        </div>
        <!-- END Header -->
        <div class="clear"></div> 
        <!-- Content -->
 		<div id="content">
        	<h2 class="top-title"><?php echo $this->title?></h2>
            <!-- Drag & drop widgets you see on the live page are called portlets. We have got 3 columns in which portlets reside. -->
            <?php echo $this->layout()->content ?>
        </div>
   		<!-- END Content -->
 	</div>
  	<!-- END Container -->
 		
  	<!-- Footer Container -->
 	<div id="footer-container">
        <div id="footer">
            <div id="footer-logo">
    			<p id="copyright">Copyright &copy; 2012 By Ishali.</p>
            </div>
            <!-- Footer Menu -->
            <ul class="menu">
             	<li><a href="<?php echo ADMIN."/"?>">Bảng Điều Khiển</a></li>
                <li><a href="<?php echo ADMIN."/news"?>">Tin Tức</a></li>
    			<li><a href="<?php echo ADMIN."/category"?>">Danh Mục</a></li>
                <li><a href="<?php echo ADMIN."/index/library"?>">Thư Viện</a></li>
                <li><a href="<?php echo ADMIN."/index/communication"?>">Truyền Thông</a></li>
                <li><a href="<?php echo ADMIN."/partner"?>">Đối Tác</a></li>
                <li><a href="<?php echo ADMIN."/user"?>">Người Dùng</a></li>
            </ul>
            <!-- END Footer Menu -->
           <div class="clear"></div>
        </div>
    </div>
    <!-- END Footer Container -->
 		
  	

</body>
</html>

